package com.huohua.base.exception;

/**
 * @author cyf
 * @version 1.0
 * @description #返回的异常信息模型
 * @date 2024/8/31 15:49
 **/
public class RestErrorResponse {
    private String errCode;
    private String errMessage;


    public RestErrorResponse(String errMessage) {
        this.errMessage = errMessage;
    }

    public RestErrorResponse(String errCode, String errMessage) {
        this.errCode = errCode;
        this.errMessage = errMessage;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
}
